package cn.com.lms.business.exam.persistence.entity;


import com.bnzj.core.persistence.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.sql.Timestamp;
import java.util.Objects;

@Getter
@Setter
@Entity
@Table(name = "bnz_exam_paper_quick_score")
@Schema(description="快捷设置分数表")
public class PaperQuickScore extends BaseEntity {

  @Schema(description = "设置编号")
  @Column(name = "code_number")
  private String codeNumber;

  @Schema(description = "设置类型 1-按照题型设置  2-按照总分100自动平摊")
  private Short type;

  @Schema(description = "单选题分数")
  @Column(name = "single_score")
  private Integer  singleScore;

  @Schema(description = "多选题分数")
  @Column(name = "multiple_score")
  private Integer multipleScore;

  @Schema(description = "判断题分数")
  @Column(name = "judge_score")
  private Integer judgeScore;

  @Schema(description = "填空题分数")
  @Column(name = "fill_score")
  private Integer fillScore;

  @Schema(description = "问答题分数")
  @Column(name = "explain_score")
  private Integer explainScore;

}
